package com.shhic.hhplt.server.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.shhic.hhplt.server.model.BoxNumber;
import org.apache.ibatis.annotations.Mapper;

import java.util.Set;

@Mapper
public interface IBoxNumberDao{

	void insertBoxNumber(BoxNumber bn);

	void updateBoxNumber(BoxNumber bn);

	void deleteBoxNumber(String codeName);

	Set<BoxNumber> getAllBoxNumber();

	void updateNowBoxNumber(String codeName, String nowCode);

	void disableOtherBoxNumberWithSameName(BoxNumber bn);

	void insertRetrievedBoxNumber(String codeName,String code);

	int deleteRetrievedBoxNumber(String codeName,String code);

	BoxNumber getBoxNumber(String codeName);
}
